﻿using System.Threading.Tasks;

namespace Sidvall.LogManager
{
	public static class ServerManagerFactory
	{
		public static async Task<ServerManager> GetServerManagerAsync(int? serverConnectionId)
		{
			ServerManager item;

			item = new ServerManager();
			await item.InitializeAsync(serverConnectionId).ConfigureAwait(false);

			return item;
		}
	}
}
